package com.rollawizards.server
{
    
    
    import flash.utils.ByteArray;
    import flash.events.TimerEvent;
    import flash.utils.Timer;
    import org.flashdevelop.utils.FlashConnect;

    public class Server
    {
    
    
        private var players:Vector.<Player>;

        public function Server()
        {
            players = new Vector.<Player>();
            

            var timer:Timer = new Timer(100);
            timer.addEventListener(TimerEvent.TIMER, step);
            timer.start();
        }

        public function acceptClient(proxy:Proxy):void
        {
            players.push(new Player(proxy));
        }

        private function step(e:TimerEvent):void
        {
        }
    }
}